import { baseUrl } from "./baseUrl";

const base = {
    addcategory: baseUrl + "/shopping-mall-backend/sp/category/add", //创建商品分类
    editcategory: baseUrl+ "/shopping-mall-backend/sp/category/edit", // 编辑分类
    getqueryById: baseUrl + "/shopping-mall-backend/sp/category/queryById", // 查看分类
    getlistClass : baseUrl + "/shopping-mall-backend/sp/category/listClass", //获取商品分类列表
    getlist: baseUrl + "/shopping-mall-backend/sp/category/list", // 懒加载分类列表
    delClass: baseUrl + "/shopping-mall-backend/sp/category/delClass", //删除商品分类
    getbrandList: baseUrl + "/shopping-mall-backend/sp/homebrand/list", //获取品牌列表
    uploadImg:baseUrl+"/shopping-mall-backend/images/add" ,//上传图片
    applybrand:baseUrl+"/shopping-mall-backend/sp/homebrand/add", //申请品牌
    // refusebrand:baseUrl+"/shopping-mall-backend/sp/homebrand/refuse" //拒绝品牌收录
    editBrand:baseUrl+"/shopping-mall-backend/sp/homebrand/edit",//编辑品牌
    delBrand:baseUrl+"/shopping-mall-backend/sp/homebrand/delete",//删除品牌
    changeStatus:baseUrl+"/shopping-mall-backend/sp/homebrand/updateStatus",//修改收录状态
    batchChangeStatus:baseUrl+"/shopping-mall-backend/sp/homebrand/updateBatchStatus"//批量修改收录/拒绝品牌
}

export default base